#ifndef __TIMER_H
#define __TIMER_H

#include "stm32f0xx_hal.h"

/* Definition for TIMx clock resources */
#define TIMx                TIM3
#define TIMx_CLK_ENABLE()   __HAL_RCC_TIM3_CLK_ENABLE()

/* Definition for TIMx's NVIC */
#define TIMx_IRQn           TIM3_IRQn
#define TIMx_IRQHandler     TIM3_IRQHandler

void Timer_Init(void);
void TimerFreqMult(void);
void TimerFreqDiv(void);
void TimerStart(void);
void TimerStop(void);

#endif/*__TIMER_H*/
